package com.example.demo.service;

public interface StatisticService {
    public int setCommentsNumByArticleId(Integer articleId);

    public int getHitsByArticleId(Integer articleId);

    public int setHitsByArticleId(Integer hits, Integer articleId);

    public int insertStatistic(Integer articleId, Integer hits, Integer commentsNum);

    public int deleteStatisticByArticleId(Integer articleId);
}
